package com.example.demo.mapper;

import com.example.demo.domain.Role;
import com.example.demo.domain.UserRole;
import com.example.demo.domain.Vo.UserRoleListVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserRoleMapper {


    void  insertUserRole(UserRole userRole);

    UserRole selectByUserIdAndRoleId(Long userId,Long roleId);

    public List<Role> getRoleByUserId(Long userId);


}
